package com.hw.dagl.service;

import java.util.List;
import com.hw.dagl.model.Frm_Department;
import com.hw.dao.utils.Page;

public interface DepartmentService {

	public List<Frm_Department> queryDepartmentInfo(String glbm);
	
	
	/**
	 * 根据部门编号查询
	 * @param info
	 * @return
	 */
	public Frm_Department findDepartmentByGlbm(Frm_Department info);
	
	/**
	 * 分页查询所有部门信息
	 * @param pages
	 * @param info
	 * @return
	 */
	public Page<Frm_Department> findDepartment(Page<Frm_Department> pages,Frm_Department info);
	
	
	/**
	 * 批量删除部门信息
	 * @param ids
	 * @return
	 */
	public boolean delDepartment(String ids);
	
	
	/**
	 * 修改部门信息
	 * @param info 用户信息
	 * @return
	 */
	public boolean updateDepartment(Frm_Department info);
	
	
	/**
	 * 新增部门信息
	 * @param info 用户信息
	 * @return
	 */
	public boolean saveDepartment(Frm_Department info);
}
